package saxion.speelveld.spaceengineer.model;

import java.io.Serializable;

public class TradeDeal implements Serializable
{
	public ResourceType tradeType;

	public int amount;

	public int cost;

	public TradeDeal(ResourceType tradeType, int amount, int cost)
	{
		this.tradeType = tradeType;
		this.cost = cost;
		this.amount = amount;
	}

	public String toString()
	{
		switch (tradeType)
		{
		case CLOTHING:
			return "Clothing";
		case COTTON:
			return "Cotton";
		case ELECTRICITY:
			return "Electricity";
		case FOOD:
			return "Food";
		case FURNITURE:
			return "Furniture";
		case GLASS:
			return "Glass";
		case GOLD:
			return "Gold";
		case GOLDORE:
			return "Gold ore";
		case HAPPINESS:
			return "Happiness";
		case IRON:
			return "Iron";
		case IRONORE:
			return "Iron ore";
		case JEWELRY:
			return "Jewelery";
		case METAL:
			return "Metal";
		case MONEY:
			return "Money";
		case OXYGEN:
			return "Oxygen";
		case POPULATION:
			return "Population";
		case POPULATIONCAP:
			return "Population cap";
		case SAND:
			return "Sand";
		case SCIENCEPOINTS:
			return "Siencepoints";
		case STORAGESPACE:
			return "Storagespace";
		case WATER:
			return "Water";
		case WOOD:
			return "Wood";
		default:
			return "Error";

		}
	}
}
